<?php echo doctype('html5')."\n" ?>
<html>
<head>

<title><?php echo $titlePage; ?></title>
<?php 
	foreach($arrayMetaCharset as $item){
		echo "<meta charset=\"".$item."\" />\n";
	}
	foreach($arrayMetaName as $item){
		echo meta($item["name"],$item["content"])."\n";
	}
	foreach($arrayStyles as $item){
		echo link_tag($item)."\n"; 
	}
	foreach($arrayScripts as $item){
		echo "<script src=\"".$item."\" type=\"text/javascript\"></script>\n";
	}
?>
</head>

<body>
	<header>
    
    	<?php require('header.php')?>
        
    </header>
    <article id="wrapper">
    	<aside>
        	<?php require('sidebar.php')?>
        </aside>
        <div class="welcome-bar">Chào mừng đến với Hệ thống quản lý <a href="#">Truyền Hình Cáp Đồng Tháp</a></div>
        <div id="main">
        	<div id="content">
            
				<?php $this->load->view($content_layout);?>
                
                <div class="clearfix"></div>
            </div>
        </div>    
    </article>
        
    <footer>
        
    	<?php require('footer.php')?>
            
    </footer>
</body>
</html>